<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Checkbox Example</title>
</head>
<script src="example.js"></script>
<body>
  <form>
    <fieldset>
      <legend>Select your favorite fruits:</legend>
      
      <label>
        <input type="checkbox" name="fruit" value="apple">
        Apple
      </label><br>
      
      <label>
        <input type="checkbox" name="fruit" value="banana">
        Banana
      </label><br>
      
      <label>
        <input type="checkbox" name="fruit" value="cherry">
        Cherry
      </label><br>
      
    </fieldset>
  </form>
</body>
</html>